﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Chat_Model
{
    /// <summary>
    /// 用户聊天记录（会话记录转发消息）
    ///</summary>
    [SugarTable("lar_talk_records_forward")]
    public class LarTalkRecordsForward
    {
        /// <summary>
        /// 合并转发ID 
        ///</summary>
         [SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public string Id { get; set; }
        /// <summary>
        /// 消息记录ID 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="record_id"    )]
         public string RecordId { get; set; }
        /// <summary>
        /// 转发用户ID 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="user_id"    )]
         public string UserId { get; set; }
        /// <summary>
        /// 转发的聊天记录ID （多个用 , 拼接），最多只能30条记录信息 
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="records_id"    )]
         public string RecordsId { get; set; }
        /// <summary>
        /// 记录快照（避免后端再次查询数据） 
        ///</summary>
         [SugarColumn(ColumnName="text"    )]
         public int? Text { get; set; }
        /// <summary>
        /// 转发时间 
        ///</summary>
         [SugarColumn(ColumnName="created_at"    )]
         public DateTime? CreatedAt { get; set; }
    }
}
